#ifndef INCLUDED_BULLET_H // preprocessor directives
#define INCLUDED_BULLET_H

#include <SGE.h>
using namespace SGE;

class Bullet
 {
 public:
	 Bullet();
	 ~Bullet();

	 void Load(); // initialize
	 void Unload(); // terminate
	 void Update(float deltaTime);
	 void Render(const SVector2& viewOffset);

	 void Fire(const SVector2& pos, const SVector2& vel);
	 void Kill();

	 bool IsActive() const				{ return mActive; };
	 SCircle GetBoundingCircle()  const { return SCircle(mPosition, 10.0f); }

 private:
	 SGE_Sprite mSprite;
	 SVector2 mPosition;
	 SVector2 mVelocity;
	 bool mActive;
 };

#endif // #ifndef INCLUDED_Bullet_H